﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterMng.master" AutoEventWireup="true" CodeFile="ViewOffUser.aspx.cs" Inherits="ExpertManager_ViewOffUser" %>
 <%@ Register assembly="AjaxControlToolkit" 
             namespace="AjaxControlToolkit" tagprefix="asp" %>
<%@ Register assembly="ProudMonkey.Common.Controls"
             namespace="ProudMonkey.Common.Controls" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Header1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="background-color:#CCCCFF;direction:rtl;padding-bottom:20px;padding-top:10px;border:1px solid #ccc;box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;border-radius: 4px;">
        <div style="padding-right:385px; width:100%">
        <asp:Image ID="Image2" runat="server" 
                        ImageUrl="~/Images/ManageUsers.png" Width="17%"  />
        </div>
     
      
        <div style="width:93%;margin:auto;background-color:#CC99FF; border:1px solid #ccc;box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;border-radius: 7px;">
       
        <div style="background-color:#9966FF;border-radius: 7px;text-align:center;height:30px">
         <asp:Label ID="Label12" runat="server" Font-Size="14px" ForeColor="#FFFF99" 
                    Text="مشاهده کارشناسان غیر فعال "></asp:Label>
        </div>
          <div >
    <table style="width: 100%; color:#000066" >
    <tr>
        <td colspan="5" align="center">

        </td>
    </tr>
   
    <tr>
        <td colspan="5" align="center">
            <asp:Label ID="Label1" runat="server" 
                Text="لطفا یکی از روش های جستجو را انتخاب کنید"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="center" colspan="2">
                &nbsp;</td>
        <td align="center" colspan="2">
                 <cc1:ConfirmBox ID="Confirm1" runat=server />
                <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                    RepeatDirection="Horizontal" Width="70%">
                     <asp:ListItem Value="Name">نام</asp:ListItem>
                      <asp:ListItem Value="LastName">نام خانوادگی</asp:ListItem>
                    <asp:ListItem Value="NatioCode">کد ملی </asp:ListItem>
                    <asp:ListItem Value="Mobile">شماره موبایل</asp:ListItem>
                   
                   
                </asp:RadioButtonList>
            </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td align="center">
            <asp:TextBox ID="Tser" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:Button ID="BtnSEr" runat="server" onclick="BtnSEr_Click" 
                Text="جستجو" CssClass="Button" />
            <asp:Label ID="LBLStatus" runat="server" BackColor="#3399FF" 
                BorderColor="Yellow" ForeColor="Yellow"></asp:Label>
        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td colspan="3">
        <br />
        <br />
            <asp:Panel ID="pnlShowdata" runat="server" Visible="false">
                 <div style="border: 1px solid #DEDEDE;border-radius:3px;box-shadow: 0px 0px 10px rgba(189, 189, 189, 0.4);padding :10px;width:85%;margin:auto;">
                   
                <div  class="headerTable" >
                <div style="width:10%;float:right">
                    <asp:Image ID="Image1" runat="server" src="../Images/ava_default_1.jpg" Height="40px" />
                </div>
                <div style="width:50%;float:right">
                    <h3><asp:Label ID="Label13" runat="server" Text="اطلاعات کاربران غیر فعال شده"></asp:Label></h3>
                </div>
                
                
                </div>
                <div  >
            <asp:GridView ID="GrdExpert" runat="server" BackColor="#999966" 
                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                Width="100%" AutoGenerateColumns="False" 
                onrowcommand="GrdExpert_RowCommand">
                <Columns>
                    <asp:BoundField DataField="Name" HeaderText="نام کارشناس" />
                    <asp:BoundField DataField="Family" HeaderText="نام خانوادگی" />
                    <asp:BoundField DataField="Mobile" HeaderText="شماره موبایل" />
                    <asp:BoundField DataField="Telephone" HeaderText="شماره تلفن" />
                    <asp:BoundField DataField="Address" HeaderText="آدرس" />
                    <asp:BoundField DataField="EmailAddress" HeaderText="آدرس ایمیل" />
                    <asp:BoundField DataField="UserName" HeaderText="نام کاربری" />
                <asp:TemplateField>
                <ItemTemplate>
                    <asp:Button ID="Button1" runat="server" Text="فعال" CommandName="Del" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>"
                          OnClientClick="ShowConfirmBox(this,'آیا از  فعال کردن کارشناس مطمینید'); return false;" 
                        Width="65px"  CssClass="Button"/>
                </ItemTemplate>
                </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <RowStyle ForeColor="#000066" />
                <SelectedRowStyle  Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                <SortedAscendingHeaderStyle BackColor="#007DBB" />
                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                <SortedDescendingHeaderStyle BackColor="#00547E" />
            </asp:GridView>
            </div>
            </div>
            </asp:Panel>

        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td align="center">
            <asp:Label ID="Lblsta1" runat="server" BackColor="#FF3300" BorderColor="Yellow" 
                ForeColor="Yellow"></asp:Label>
        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>
</div>
</div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Header" Runat="Server">
</asp:Content>

